<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="DTO.Student"%>
<%@ page import="DTO.User"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <title>Concise Profile Widget Responsive Widget Template | Home :: w3layouts</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta charset="utf-8">
    <meta name="keywords" content=" Concise Profile Widget Responsive, Signup form web template, Sign up Web Templates, Flat Web Templates, Login signup Responsive web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
    <link href="css3/font-awesome.min.css" rel="stylesheet" type="text/css" media="all">
    <link href="css3/style.css" rel="stylesheet" type="text/css" media="all"/>
    <%--<link href="//fonts3.googleapis.com/css?family=Roboto:400,500,700,900" rel="stylesheet">--%>
</head>
<body>
<%
    Student student =(Student)request.getAttribute("student");
%>
<%
    User user =(User)request.getAttribute("user");
%>
<h1>Concise Profile Widget</h1>
<div class="profile">
    <div class="wrap">
        <div class="profile-main">
            <div class="profile-pic wthree">
                <img src="images3/pr1.png" class="img-responsive" alt="">
                <h2>JADE</h2>
                <p>Deputy Manager</p>
            </div>
            <div class="main-grid3">
                <div class="w3_bar">
                    <div class="bar">
                        <p>username</p>
                    </div>
                    <c:if test="${ not empty user.getUsername() }">
                        <input value="${user.getUsername()}">
                    </c:if>
                    <c:if test="${ not empty user.getUsername() }">
                        <input value="${user.getUsername()}">
                    </c:if>
                    <br></br>
                </div>
                <div class="w3_bar">
                    <div class="bar">
                        <p>Email</p>
                    </div>
                    <input value="${user.getEmail()}">
                    <br></br>
                </div>
                <div class="w3_bar">
                    <div class="bar">
                        <p>Phone</p>
                    </div>
                    <input value="${user.getPhone()}">
                    <br></br>
                </div>
            </div>
            <div class="profile-ser">
                <div class="profile-ser-grids">
                    <img src="images3/p1.png" alt="">
                    <h4>1086</h4>
                </div>
                <div class="profile-ser-grids agileinfo">
                    <img src="images3/p2.png" alt="">
                    <h4>1582</h4>
                </div>
                <div class="profile-ser-grids no-border">
                    <img src="images3/p3.png" alt="">
                    <h4>1468</h4>
                </div>
                <div class="clear"> </div>
            </div>

            <div class="profile-follows">

                <div class="wrapper">
                    <ul class="social-icons icon-circle icon-zoom list-unstyled list-inline">
                        <li> <a href="#"><i class="fa fa-facebook"></i></a></li>
                        <li> <a href="#"><i class="fa fa-linkedin"></i></a></li>
                        <li> <a href="#"><i class="fa fa-google-plus"></i></a></li>
                        <li> <a href="#"><i class="fa fa-twitter"></i></a></li>
                    </ul>
                </div>
                <div class="follow-btn">
                    <a href="https://cas.dgut.edu.cn/logout?callback=http://localhost:8080/get">退出登录</a>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="copy-rights">
    <p>© 2018 Concise Profile Widget. All Rights Reserved | Design by  <a href="http://w3layouts.com/" target="_blank">W3layouts</a> </p>
</div>

</body>
</html>



</body>
</html>
